- content_for(:title, 'Select Remote Target')
.select-remote-target
  %ul
    - @deployment_targets.each do |target|
      %li
        %dl
          %dt=target.name
          %dd
            Endpoint:
            = target.endpoint_url
        = link_to 'Select this Target', new_deployment_target_deployment_path(target, resource_id: @resource[:id], resource_type: @resource[:type]), class: 'button-positive'

  = link_to 'Add a New Remote Deployment Target', deployment_targets_path, class: 'button-add-positive'
